﻿/// <reference path="../../jquery.d.ts"/>
/// <reference path="../../jquerymobile.d.ts"/>
/// <reference path="../../geo.core.ts" />

Geo.Core.OnAfterInitialize.add(function () {
    if (Geo.Core.Current.PrivateKey === null) {
        Geo.Core.Navigation.GoToAction();
        return;
    } else if (Geo.Core.Current.ActionType === null) {
        Geo.Core.Navigation.GoToAction();
        return;
    }
    Geo.Core.Navigation.GoToAction();
});

